package com.king.bean.msg;

import com.king.bean.entity.Image;
import com.thoughtworks.xstream.annotations.XStreamAlias;

import java.util.Map;

@XStreamAlias("xml")
public class WxImageMessage extends WxBaseMessage {

    @XStreamAlias("Image")
    private Image image;

    public Image getImage() {
        return image;
    }

    public void setImage(Image image) {
        this.image = image;
    }

    public WxImageMessage(Map<String, Object> requestMap,Image image) {
        super(requestMap);
        this.setMsgType("image");
        this.image = image;
    }
}